#include <stdio.h>

typedef union utod {
    double d;
    unsigned long l;
}utod;

int main()
{
     utod t = {0};
     double v = 0;

     t.l = 12345678;
     t.d = t.l;
     printf("%ld, %lf\n", t.l, t.d);

     t.l = 12345678;
     t.d = t.l;  // if not this step, ouput is 0.0. debug for wait;
     v = t.d;
     printf("%lf\n", v);
     return 0;
}
